/**
 * Alipay.com Inc.
 * Copyright (c) 2004-2013 All Rights Reserved.
 */
package com.pingan.mobilegw.adapterservice.model;

import java.util.Date;

/**
 * 登陆信息
 * 
 * @author jiadao
 * @version $Id: LoginInfo.java, v 0.1 2013-4-3 下午2:13:52 jiadao Exp $
 */
public class LoginInfo extends ToString {

    /** serialVersionUID */
    private static final long serialVersionUID = 7103582151350894892L;

    /** 登陆帐号 */
    private String            loginAccount;

    /** 登陆token */
    private String            loginToken;

    /** 是否淘宝登陆 (PS:老MobileContext模型中，0为fasle，1为true)*/
    private boolean           isTaobaoLogin;

    /** 淘宝登陆sessionid */
    private String            taobaoSid;

    /** 是否为无线新用户*/
    private boolean           isNewUser;

    /** 服务端版本号（登录时确定）*/
    private int               apiVersion;

    /** 最后登录时间 */
    private Date              gmtLastLogin;

    /**
     * Getter method for property <tt>loginAccount</tt>.
     * 
     * @return property value of loginAccount
     */
    public String getLoginAccount() {
        return loginAccount;
    }

    /**
     * Setter method for property <tt>loginAccount</tt>.
     * 
     * @param loginAccount value to be assigned to property loginAccount
     */
    public void setLoginAccount(String loginAccount) {
        this.loginAccount = loginAccount;
    }

    /**
     * Getter method for property <tt>loginToken</tt>.
     * 
     * @return property value of loginToken
     */
    public String getLoginToken() {
        return loginToken;
    }

    /**
     * Setter method for property <tt>loginToken</tt>.
     * 
     * @param loginToken value to be assigned to property loginToken
     */
    public void setLoginToken(String loginToken) {
        this.loginToken = loginToken;
    }

    /**
     * Getter method for property <tt>isTaobaoLogin</tt>.
     * 
     * @return property value of isTaobaoLogin
     */
    public boolean isTaobaoLogin() {
        return isTaobaoLogin;
    }

    /**
     * Setter method for property <tt>isTaobaoLogin</tt>.
     * 
     * @param isTaobaoLogin value to be assigned to property isTaobaoLogin
     */
    public void setTaobaoLogin(boolean isTaobaoLogin) {
        this.isTaobaoLogin = isTaobaoLogin;
    }

    /**
     * Getter method for property <tt>isNewUser</tt>.
     * 
     * @return property value of isNewUser
     */
    public boolean isNewUser() {
        return isNewUser;
    }

    /**
     * Setter method for property <tt>isNewUser</tt>.
     * 
     * @param isNewUser value to be assigned to property isNewUser
     */
    public void setNewUser(boolean isNewUser) {
        this.isNewUser = isNewUser;
    }

    /**
     * Getter method for property <tt>gmtLastLogin</tt>.
     * 
     * @return property value of gmtLastLogin
     */
    public Date getGmtLastLogin() {
        return gmtLastLogin;
    }

    /**
     * Setter method for property <tt>gmtLastLogin</tt>.
     * 
     * @param gmtLastLogin value to be assigned to property gmtLastLogin
     */
    public void setGmtLastLogin(Date gmtLastLogin) {
        this.gmtLastLogin = gmtLastLogin;
    }

    /**
     * Getter method for property <tt>apiVersion</tt>.
     * 
     * @return property value of apiVersion
     */
    public int getApiVersion() {
        return apiVersion;
    }

    /**
     * Setter method for property <tt>apiVersion</tt>.
     * 
     * @param apiVersion value to be assigned to property apiVersion
     */
    public void setApiVersion(int apiVersion) {
        this.apiVersion = apiVersion;
    }

        /**
         * Getter method for property <tt>taobaoSid</tt>.
         * 
         * @return property value of taobaoSid
         */
    public String getTaobaoSid() {
        return taobaoSid;
    }

        /**
         * Setter method for property <tt>taobaoSid</tt>.
         * 
         * @param taobaoSid value to be assigned to property taobaoSid
         */
    public void setTaobaoSid(String taobaoSid) {
        this.taobaoSid = taobaoSid;
    }

}
